<?php  $totalproduit = $this->cart->total(); ?>
<div id="banner" align="right">
					<div id="titre_banner" align="center">ZOO-MARKET
					<p>Nos installations nous per-<br /><br />mettent d'offrir des moments<br /><br />exceptionnels à ceux 					 					et<br /><br />
					celles qui profitent d'un<br /><br />séjour parmis nous. </p>
					</div>
				</div>	<!--END BANNER-->

			<div class="actu1" align="left">

				<div id="category" align="left" style="color:#FFFFFF">TOUS NOS CATEGORIES
				<a href="<?php echo site_url('produits/panier');?>">
                                    <p>Panier: <span id="qtyproduit">
            <?php
                                    if ($totalproduit != NULL)
                                        echo $totalproduit . " &euro; "; else
                                        echo "0 &euro; ";
                                    ?>
            </span> </p></a>
				</div>
                               <table class="table_item" width="710">
                               <?php
                               $i=1;
                               foreach ( $listcat as $aRow):
                                     $image_path = './assets/photos/' . $aRow['img'];
    if ($aRow['img'] != '') {
        if (file_exists($image_path)) {
            $image_path = base_url() . 'assets/photos/' . $aRow['img'];
        } else {
            $image_path = root_url('zoo-market') . 'assets/noimage.gif';
        }
    } else {
        $image_path = root_url('zoo-market') . 'assets/noimage.gif';
}
                                   ?>
                                <?php if($i%2!=0){?>
                                <tr>
                                 <?php }?>

                                             <td align="center">
                                         <div class="item">
                                           <img src="<?php echo base_url();?>assets/images/border_item_tl.png"  class="bgr_item_tl" />
	                                   <img src="<?php echo base_url();?>assets/images/border_item_tr.png"  class="bgr_item_tr" />
                                           <img src="<?php echo base_url();?>assets/images/border_item_bl.png"  class="bgr_item_bl" />
                                           <img src="<?php echo base_url();?>assets/images/border_item_br.png"  class="bgr_item_br" />
                                           <div class="wrapper_item">
                 <div class="wrapper_img_item_cat"><a  href="<?php echo site_url('produits/list_produits')."/".$aRow['id']?>"><img src="<?php echo $image_path;?>"  border="0"/></a></div>
                 <br/><a class="list_catchild" href="<?php echo site_url('produits/list_produits')."/".$aRow['id']?>"><?php echo $aRow['nomfr'] ;?></a>
                                               </div>
                                        </div>
                                                </td>
                                       <?php if($i%2==0){?>
                                  </tr>

                                <?php }?>

                                 <?php  $i=$i+1; endforeach; ?>
                                 <?php if(($i-1)%2!=0){?>
                                    </tr>
                                   <?php } ?>
                            </table>




				
			</div>	<!--END ACTU 1-->